﻿
@{
    ViewBag.Title = "Index";
}
@{
    var action = ViewContext.Controller.ValueProvider.GetValue("action").RawValue.ToString();
    var controller = ViewContext.Controller.ValueProvider.GetValue("controller").RawValue.ToString();
    var returnUrl = "/Admin/" + controller;
}

<div id="indexView" class="table">
    @Html.Partial("_HeaderContent")    
    <div id="ajax_loadContent">
    
    </div>
</div>

@Content.ScriptAdmin("jquery-1.7.2.min.js", Url)
<script type="text/javascript">
    $(document).ready(function () {
        LoadAjax(root, "@controller", 0, 10);
        //Custom Form
        $('.custom_chk').jqTransCheckBox();
        $('.custom_rd').jqTransRadio();
        $('.custom_select').jqTransSelect();

        //FancyBox
        $('.fancyboxClick').fancybox();
    })
</script>